<script setup>
import { ref } from 'vue';
import ChildTwo from './components/ChildTwo.vue';

const car = ref('自行车')
const changeCarCb = (value) => {
  car.value = value
}

</script>

<template>
  <div>
    父组件---{{ car }}
    <ChildTwo :car="car" :change-car-cb="changeCarCb" @change-car="car = $event" />
  </div>
</template>

<style scoped></style>
